#include "PlayerInfo.h"


PlayerInfo::PlayerInfo()
{
}


PlayerInfo::~PlayerInfo()
{
}

int PlayerInfo::PLAYER_COUNT;
PlayerInfo* PlayerInfo::Players[5];

void PlayerInfo::initialPlayers(int playerCount, string* pn)
{
	PlayerInfo::PLAYER_COUNT = playerCount;

	for (int i = 0; i < playerCount; i++)
	{
		PlayerInfo* pInfo = new PlayerInfo();
		pInfo->name = *pn;

		PlayerInfo::Players[i] = pInfo;
		pn++;
	}
}